<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">  
<title>专利协同服务平台</title>
<link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/css/select.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/css/H-ui.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/select-ui.min.js"></script>
  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select").uedSelect({
		width : 345		
	});
});
</script>
<style type="text/css">
.col-xs-3 {
    width: 9%;
}
select{width:100px;font-size:13px;}
.formControls{margin-top:4px;font-size: 15px;}
.formspan{font-size: 15px;}
</style>
</head>
<body>
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="#">查看科技服务人员信息</a></li>
		</ul>
    </div>  
    <div class="formbody">    
		 <div class="formbody">
	    <div class="formtitle"><span>科技服务人员信息</span></div>
	    	<div class="row cl">
				<label class="form-label col-xs-3">姓名：</label>
				<div class="formControls col-xs-8" > ${scienceExpert.userName}
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-3">单位：</label>
				<div class="formControls col-xs-8"  >
					<cite>
			    		<c:forEach items="${dicSchools}" var="dicSchool">
			    			<c:if test="${scienceExpert.schoolType ==  dicSchool.typeCode}">
			    				<a style="font-size:15px;">${dicSchool.description}</a>
			    			</c:if>
			    		</c:forEach>
			    	</cite>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-3">部门：</label>
				<div class="formControls col-xs-8"  >
					${scienceExpert.department}
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-3">手机号：</label>
				<div class="formControls col-xs-8"  >
					 ${scienceExpert.phoneNumber}
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-3">擅长学科：</label>
				<div class="formControls col-xs-8"  >
					 <cite>
				    	<c:forEach items="${dicSubjects}" var="dicSubject">
				    		<c:forEach items="${fn:split(scienceExpert.subjectTypes,',')}" var="subjectCode">
					    		<c:forEach items="${dicSubject.dicPrimarySubjectp}" var="primary" varStatus="primaryStatus">
					    			<c:if test="${subjectCode == primary.typeCode}">
					    				<a style="font-size:15px;">${primary.description}    </a>
					    			</c:if>
					    		</c:forEach>
				    		</c:forEach>
						</c:forEach>
					</cite>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-3">QQ：</label>
				<div class="formControls col-xs-8"  >
					${scienceExpert.QQ}
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-3">微信：</label>
				<div class="formControls col-xs-8"  >
					 ${scienceExpert.weChat}
				</div>
			</div>
    	</div>
	</div> 
<script type="text/javascript"> 
  function changeSynergy(synergyId){
	  $.ajax({
			type:"POST",
			dataType:"text",
			data:{"synergyId":synergyId},
			url:"${pageContext.request.contextPath}/scienceExpert/getPatentSynergyById.do",
			success:function(data){
				$("#abstractInfo").html(data);
			}
		
	 });
  }
</script>
</body>
</html>